package appconfig

import "github.com/spf13/viper"

type AppConfig struct {
	StuInit
}
type StuInit struct {
	Key   string
	AppId string
}

var AppCon AppConfig

func InIt() {
	viper.SetConfigFile("./appconfig/test.yaml")
	viper.ReadInConfig()
	viper.Unmarshal(&AppCon)
}
